package com.nulldev.util.web.dns.server.message;

public final class DNSQuestion {
	private final String questionName;

    private final DNSRecordType questionType;

    private final DNSRecordClass questionClass;

    public DNSQuestion(String questionName, DNSRecordType questionType, DNSRecordClass questionClass) {
        this.questionName = questionName;
        this.questionType = questionType;
        this.questionClass = questionClass;
    }

    public String getQuestionName() {
        return questionName;
    }

    public DNSRecordType getQuestionType() {
        return questionType;
    }

    public DNSRecordClass getQuestionClass() {
        return questionClass;
    }
}
